package follow.juc.writing.demo1;

/**
 * @author tu zy
 * @version 1.0
 * @date 2020/11/24 23:14
 */

public class Demo2Runnable{


    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("匿名内部类实现Runnable接口，实现多线程");
            }
        }).start();


    }
}
